﻿namespace 城市天然气管道风险管理与决策系统
{
    internal class Score
    {
        public int left { get; set; } = 0;
        public int right { get; set; } = 0;
        public double weight { get; set; } = 0;

        public Score(int left, int right, double weight)
        {
            this.left = left;
            this.right = right;
            this.weight = weight;
        }

        public string ToString()
        {
            return Util.ParseScore(this.left, this.right);
        }
    }
}
